package com.chalk.service;

import com.baomidou.mybatisplus.service.IService;
import com.chalk.model.TicketOrderItem;

import java.util.List;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author glq
 * @since 2020-12-24
 */

public interface TicketOrderItemService extends IService<TicketOrderItem> {
    /**
     * 新增
     */
    public int addTicketOrderItem(TicketOrderItem entity);

    /**
     * 修改
     */
    public int updateTicketOrderItem(TicketOrderItem entity);

    /**
     * 删除
     */
    public int deleteTicketOrderItem(Integer id);

    /**
     * 票订单详情
     * @param ticketOrderId
     * @return
     */
    public List<TicketOrderItem> getTicketOrderItems(Integer ticketOrderId);
}
